package com.example.demo.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "myasync")
@Data
@Component
public class MyAsnyProperties {

    int min;
    int max;
    boolean isWait;

}
